﻿@using 检查页面开放.Models
@model dynamic

@{
    ViewBag.Title = "title";
    Layout = null;
    YmModel ymModel = Model as YmModel;
}
<script src="~/Scripts/jquery-1.10.2.js"></script>

<div>总数 @ymModel.TotalCount</div>
<div>全开放 @ymModel.QkfCount</div>
<div>部分开放 @ymModel.BfCount</div>
<div>不开放 @ymModel.BkfCount <a href="#" onclick="showBkfDiv()">展示</a></div>
<div id="BkfDiv" style="display: none; border: aquamarine 1px solid;">
    @foreach (string m in ymModel.PtBkfList)
    {
        <div>@m</div>
    }
</div>
<div>ASPX页面 @ymModel.AspxCount <a href="#" onclick="showAspxDiv()">展示</a></div>
<div id="AspxDiv" style="display: none; border: aquamarine 1px solid;">
    @foreach (var m in ymModel.ApsxBkfList)
    {
        <div>@m</div>
    }
</div>
<div>开放比例 @(ymModel.QkfCount * 0.01 / (ymModel.TotalCount) * 100 * 100)</div>
<script>
    $(document).ready(function () {

    });
    function showBkfDiv() {
        $("#BkfDiv").toggle();
    }

    function showAspxDiv() {
        $("#AspxDiv").toggle();
    }
</script>
